﻿package src.utils {
	import flash.geom.*;
	import flash.display.*;

public class colorChange {
	
		public static function newColor(mc:MovieClip, col:uint):void {
			var mcAlpha:Number = mc.alpha;
			var tf:Transform = new Transform(mc);
			var color_tf:ColorTransform = new ColorTransform();
			color_tf.color = col;
			color_tf.alphaMultiplier = mcAlpha;
			tf.colorTransform = color_tf;
		}
	}
}